﻿using Harmontronics.Model.Dto.Model;
using Harmontronics.Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.IService.Business
{
    public interface IProcessService
    {
        public ProcessModel Mending(Process processEntity);
        public List<ProcessModel> MendingRange(List<Process> entities);
        //查
        public List<ProcessModel> GetAllProcessModels();
        public List<Process> GetAllProcess();
        //根据工站Id查
        //根据Id精准查询
        public ProcessModel GetProcessById(string id);
        //增
        public bool AddProcess(Process process);
        public bool UpdateProcess(Process process);
        public bool DeleteProcess(string id);
        public bool BatchDelProcess(List<string> ids);
    }
}
